<%@page import="helpers.UrlHelper"%>
<%
String title = (String) request.getParameter("title");
String description = (String) request.getParameter("description");
String keywords = (String) request.getParameter("keywords");
String ogSiteName = (String) request.getParameter("ogsite_name");
String ogTitle = (String) request.getParameter("ogtitle"); 
String ogUrl = (String) request.getParameter("ogurl");
String ogImage = (String) request.getParameter("ogimage");
String ogDescription = (String) request.getParameter("ogdescription");

if (title == null)
	title = "Wiki Medical Information";

if (description == null)
	description = "WikiMedical - Wiki about Health Information";

if (keywords == null)
	keywords = "Wiki Medical, MedlinePlus, Health Information, Drugs and Supplements , Dictionaries, Directories, Other Resources, Health News, Featured Health Site, Clinical Trials, NIHSeniorHealth, Interactive Tutorials, clinicaltrials.gov, National Library of Medicine, National Institutes of Health";

if (ogSiteName == null)
	ogSiteName = "wikimedical.info";

if (ogTitle == null)
	ogTitle = "Wiki Medical Information";

if (ogDescription == null)
	ogDescription = "WikiMedical - Wiki about Health Information";

if (ogUrl == null)
	ogUrl = UrlHelper.getServerUrl(request);

if (ogImage == null)
	ogImage = UrlHelper.getServerUrl(request) + "/img/logo.png";

%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="<%=description.replaceAll("[\"\']+", "")%>" >
<meta name="Keywords" content="<%=keywords.replaceAll("[\"\']+", "")%>" >
<meta itemprop="name" content="<%=ogTitle.replaceAll("[\"\']+", "")%>" />    
<meta itemprop="description" content="<%=ogDescription %>" />
<meta property="og:site_name" content="<%=ogSiteName %>" >
<meta property="og:title" content="<%=ogTitle.replaceAll("[\"\']+", "")%>" >
<meta property="og:url" content="<%=ogUrl%>" >
<meta property="og:image" content="<%=ogImage%>" >
<meta property="og:description" content="<%=ogDescription %>" >
<title><%=title%></title>

<link href="/css/bootstrap.css" rel="stylesheet" media="screen">
<link href="/css/bootstrap-responsive.css" rel="stylesheet" media="screen">
<link href="/css/custom.css" rel="stylesheet" media="screen">
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> 
					<span class="icon-bar"></span> 
					<span class="icon-bar"></span> 
					<span class="icon-bar"></span> 
				</a> 
				<a class="brand" href="/">Wiki Medical</a>
				<div class="nav-collapse collapse">
					<ul class="nav">
						<li class="active"><a href="/">Home</a></li>
					</ul>
				</div>
				<!--/.nav-collapse -->
			</div>
		</div>
	</div>

	<div id="main">
		<div class="container">

			<div class="row-fluid">
				<div class="span12">
					<div class="row-fluid">
						<div class="span3">
							<a href="/">
								<img src="/img/logo.png" />
							</a>
						</div>
						<div class="span9">
							<script type="text/javascript"><!--
							google_ad_client = "ca-pub-2883566427648799";
							/* ads 728x90 */
							google_ad_slot = "6443569882";
							google_ad_width = 728;
							google_ad_height = 90;
							//-->
							</script>
							<script type="text/javascript"
							src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
							</script>
						</div>
					</div>
				</div>
			</div>
			<br />
			
			<div class="navbar">
				<div class="navbar-inner">
					<ul class="nav">
						<li><a href="/medlineplus/healthtopics_a.html">A</a></li>
						<li><a href="/medlineplus/healthtopics_b.html">B</a></li>
						<li><a href="/medlineplus/healthtopics_c.html">C</a></li>
						<li><a href="/medlineplus/healthtopics_d.html">D</a></li>
						<li><a href="/medlineplus/healthtopics_e.html">E</a></li>
						<li><a href="/medlineplus/healthtopics_f.html">F</a></li>
						<li><a href="/medlineplus/healthtopics_g.html">G</a></li>
						<li><a href="/medlineplus/healthtopics_h.html">H</a></li>
						<li><a href="/medlineplus/healthtopics_i.html">I</a></li>
						<li><a href="/medlineplus/healthtopics_j.html">J</a></li>
						<li><a href="/medlineplus/healthtopics_k.html">K</a></li>
						<li><a href="/medlineplus/healthtopics_l.html">L</a></li>
						<li><a href="/medlineplus/healthtopics_m.html">M</a></li>
						<li><a href="/medlineplus/healthtopics_n.html">N</a></li>
						<li><a href="/medlineplus/healthtopics_o.html">O</a></li>
						<li><a href="/medlineplus/healthtopics_p.html">P</a></li>
						<li><a href="/medlineplus/healthtopics_q.html">Q</a></li>
						<li><a href="/medlineplus/healthtopics_r.html">R</a></li>
						<li><a href="/medlineplus/healthtopics_s.html">S</a></li>
						<li><a href="/medlineplus/healthtopics_t.html">T</a></li>
						<li><a href="/medlineplus/healthtopics_u.html">U</a></li>
						<li><a href="/medlineplus/healthtopics_v.html">V</a></li>
						<li><a href="/medlineplus/healthtopics_w.html">W</a></li>
						<li><a href="/medlineplus/healthtopics_xyz.html">XYZ</a></li>
					</ul>
				</div>
			</div>